
<!DOCTYPE html>
<html b:version='2' class='v2' dir='ltr' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
<script type="text/javascript">(function() { var b=window,e="jstiming",g="tick";(function(){function d(a){this.t={};this.tick=function(a,d,c){c=void 0!=c?c:(new Date).getTime();this.t[a]=[c,d]};this[g]("start",null,a)}var a=new d;b.jstiming={Timer:d,load:a};if(b.performance&&b.performance.timing){var a=b.performance.timing,c=b[e].load,f=a.navigationStart,a=a.responseStart;0<f&&a>=f&&(c[g]("_wtsrt",void 0,f),c[g]("wtsrt_","_wtsrt",a),c[g]("tbsd_","wtsrt_"))}try{a=null,b.chrome&&b.chrome.csi&&(a=Math.floor(b.chrome.csi().pageT),c&&0<f&&(c[g]("_tbnd",void 0,b.chrome.csi().startE),
c[g]("tbnd_","_tbnd",f))),null==a&&b.gtbExternal&&(a=b.gtbExternal.pageT()),null==a&&b.external&&(a=b.external.pageT,c&&0<f&&(c[g]("_tbnd",void 0,b.external.startE),c[g]("tbnd_","_tbnd",f))),a&&(b[e].pt=a)}catch(l){}})();b.tickAboveFold=function(d){var a=0;if(d.offsetParent){do a+=d.offsetTop;while(d=d.offsetParent)}d=a;750>=d&&b[e].load[g]("aft")};var h=!1;function k(){h||(h=!0,b[e].load[g]("firstScrollTime"))}b.addEventListener?b.addEventListener("scroll",k,!1):b.attachEvent("onscroll",k);
 })();</script>
<meta content='blogger' name='generator'/>
<link href='http://salman-w.blogspot.com/favicon.ico' rel='icon' type='image/x-icon'/>
<link href='http://salman-w.blogspot.com/2009/03/latitude-longitude-finder-tool.html' rel='canonical'/>
<link rel="alternate" type="application/atom+xml" title="Salman&#39;s Web Development Blog - Atom" href="http://salman-w.blogspot.com/feeds/posts/default" />
<link rel="alternate" type="application/rss+xml" title="Salman&#39;s Web Development Blog - RSS" href="http://salman-w.blogspot.com/feeds/posts/default?alt=rss" />
<link rel="service.post" type="application/atom+xml" title="Salman&#39;s Web Development Blog - Atom" href="http://www.blogger.com/feeds/3680575299883770294/posts/default" />

<link rel="alternate" type="application/atom+xml" title="Salman&#39;s Web Development Blog - Atom" href="http://salman-w.blogspot.com/feeds/3298955415362166341/comments/default" />
<!--[if IE]><script type="text/javascript" src="//www.blogger.com/static/v1/jsbin/2294187563-ieretrofit.js"></script>
<![endif]-->
<!--[if IE]> <script> (function() { var html5 = ("abbr,article,aside,audio,canvas,datalist,details," + "figure,footer,header,hgroup,mark,menu,meter,nav,output," + "progress,section,time,video").split(','); for (var i = 0; i < html5.length; i++) { document.createElement(html5[i]); } try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} })(); </script> <![endif]-->
<title>Latitude-Longitude Finder Tool | Salman's Web Development Blog</title>
<link type='text/css' rel='stylesheet' href='//www.blogger.com/static/v1/widgets/1128408835-widget_css_2_bundle.css' />
<link type="text/css" rel="stylesheet" href="//www.blogger.com/dyn-css/authorization.css?targetBlogID=3680575299883770294&zx=9a74684b-9e3a-462c-a8e0-725d2cb0a6bf"/>
<style id='page-skin-1' type='text/css'><!--

--></style>
<meta content='width=device-width, initial-scale=1.0' name='viewport'/>
<link href='http://salman-w.googlecode.com/svn/private/b01-template/styles.css' rel='stylesheet' type='text/css'/>
<meta content='3548835ae2ec1177-568c1d8c54da87db-g0792e4c260506d50-15' name='google-translate-customization'/>
<meta content='24B268E46717BF98791BB782DB780283' name='msvalidate.01'/>
<script type='text/javascript'>
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-6049048-7']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script');
        ga.type = 'text/javascript';
        ga.async = true;
        ga.src = (document.location.protocol == 'https:' ?
                  'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(ga, s);
      })();
    </script>
<script type="text/javascript">
if (window.jstiming) window.jstiming.load.tick('headEnd');
</script></head>
<body class='item'>
<div class='section' id='navbar'>
</div>
<div id='wrapper'>
<div class='section' id='header'><div class='widget Header' id='Header1'>
<div id='header-inner'>
<div class='titlewrapper'>
<h1 class='title'>
<a href='http://salman-w.blogspot.com/'>Salman's Web Development Blog</a>
</h1>
</div>
<div class='descriptionwrapper'>
<p class='description'><span>Code, articles, tips, ideas, rants, et cetera</span></p>
</div>
</div>
</div></div>
<div id='columns'>
<div class='section' id='content'><div class='widget Blog' id='Blog1'>
<div class='blog-posts hfeed'>
<!-- google_ad_section_start(name=default) -->

          <div class="date-outer">
        
<h2 class='date-header'><span>March 19, 2009</span></h2>

          <div class="date-posts">
        
<div class='post-outer'>
<div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta content='3680575299883770294' itemprop='blogId'/>
<meta content='3298955415362166341' itemprop='postId'/>
<a name='3298955415362166341'></a>
<h3 class='post-title entry-title' itemprop='name'>
Latitude-Longitude Finder Tool
</h3>
<div class='post-header'>
<div class='post-header-line-1'></div>
</div>
<div class='post-body entry-content' id='post-body-3298955415362166341' itemprop='description articleBody'>
<p>This easy-to-use, online, browser-based tool will help you find the Latitude/Longitude coordinates of any place on the world map. If you are a coder or a developer interested in using Google Maps API, you will find useful information further below.</p>
<a name='more'></a>
<h4>How to Use</h4>
<p>To find a place on the map, enter its name or address in the text box below. Pan the map around the desired place, zoom in for greater accuracy. Drag the marker over the desired place. The latitude/longitude coordinates of the point below the marker are displayed below the map.</p>
<form id="mapform" action="#">
  <p>
    <input id="mapinput" type="text" style="width: 80%;" value="Disneyland, 1313 S Harbor Blvd, Anaheim, CA 92802, USA" maxlength="100">
    <input type="submit" style="width: 18%;" value="Find">
  </p>
</form>
<div id="mapdiv" style="height: 400px;"></div>
<div id="mapoutput" style="background-color: #FFDD22; font-weight: bold;">Latitude:<br>Longitude:</div>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?v=3&amp;sensor=false&amp;key=AIzaSyD3VSb2IYSKdPdcDWFffqh0pGy9S47Klzk"></script>
<script type="text/javascript">
  google.maps.event.addDomListener(window, "load", function() {
    //
    // initialize map
    //
    var map = new google.maps.Map(document.getElementById("mapdiv"), {
      center: new google.maps.LatLng(33.808678, -117.918921),
      zoom: 13,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    });
    //
    // initialize marker
    //
    var marker = new google.maps.Marker({
      position: map.getCenter(),
      draggable: true,
      map: map
    });
    //
    // intercept map and marker movements
    //
    google.maps.event.addListener(map, "idle", function() {
      marker.setPosition(map.getCenter());
      document.getElementById("mapoutput").innerHTML = "<a href=\"https://maps.google.com/maps?q=" + encodeURIComponent(map.getCenter().toUrlValue()) + "\" target=\"_blank\" style=\"float: right;\">Go to maps.google.com</a>Latitude: " + map.getCenter().lat().toFixed(6) + "<br>Longitude: " + map.getCenter().lng().toFixed(6);
    });
    google.maps.event.addListener(marker, "dragend", function(mapEvent) {
      map.panTo(mapEvent.latLng);
    });
    //
    // initialize geocoder
    //
    var geocoder = new google.maps.Geocoder();
    google.maps.event.addDomListener(document.getElementById("mapform"), "submit", function(domEvent) {
      if (domEvent.preventDefault){
        domEvent.preventDefault();
      } else {
        domEvent.returnValue = false;
      }
      geocoder.geocode({
        address: document.getElementById("mapinput").value
      }, function(results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
          var result = results[0];
          document.getElementById("mapinput").value = result.formatted_address;
          if (result.geometry.viewport) {
            map.fitBounds(result.geometry.viewport);
          }
          else {
            map.setCenter(result.geometry.location);
          }
        } else if (status == google.maps.GeocoderStatus.ZERO_RESULTS) {
          alert("Sorry, the geocoder failed to locate the specified address.");
        } else {
          alert("Sorry, the geocoder failed with an internal error.");
        }
      });
    });
  });
</script>
<h4>Notes for Coders/Developers</h4>
<p>The map is powered by <a href="https://developers.google.com/maps/" target="_blank">Google Maps</a>. The code is derived from the Google Maps API Examples and the interface is inspired by the map tool on <a href="http://universimmedia.pagesperso-orange.fr/geo/loc.htm" target="_blank">this page</a>.</p>
<p>The code consists of/demonstrates the following:</p>
<ol>
  <li><code>google.maps.Map</code> object</li>
  <li>Drag-able <code>google.maps.Marker</code></li>
  <li>A very basic <code>google.maps.Geocoder</code> example</li>
  <li>Event listening using <code>google.maps.event.addListener</code></li>
</ol>
<p>The event handling is the tricky part. Here is how it works:</p>
<ul>
  <li><code>map.idle</code> event handler re-positions the marker to the center of map. This event is fired when the map becomes idle after panning or zooming.
    <ul>
      <li>The latitude/longitude display is refreshed inside the event handler.</li>
    </ul>
  </li>
  <li><code>marker.dragend</code> event handler aligns the map with the marker. This event is fired when the user stops dragging the marker.
    <ul>
      <li>Re-positioning the map fires the <code>map.idle</code> event</li>
    </ul>
  </li>
</ul>
<p>View page source to see the JavaScript and HTML code for the latitude/longitude finder.</p>
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-labels'>
tags:
<a href='http://salman-w.blogspot.com/search/label/google%20maps' rel='tag'>google maps</a>,
<a href='http://salman-w.blogspot.com/search/label/google%20maps%20api%20v3' rel='tag'>google maps api v3</a>,
<a href='http://salman-w.blogspot.com/search/label/javascript' rel='tag'>javascript</a>
</span>
<span class='post-comment-link'>
</span>
</div>
<div class='post-footer-line post-footer-line-2'><div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='http://www.blogger.com/share-post.g?blogID=3680575299883770294&postID=3298955415362166341&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='http://www.blogger.com/share-post.g?blogID=3680575299883770294&postID=3298955415362166341&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='http://www.blogger.com/share-post.g?blogID=3680575299883770294&postID=3298955415362166341&target=twitter' target='_blank' title='Share to Twitter'><span class='share-button-link-text'>Share to Twitter</span></a><a class='goog-inline-block share-button sb-facebook' href='http://www.blogger.com/share-post.g?blogID=3680575299883770294&postID=3298955415362166341&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><div class='goog-inline-block dummy-container'><g:plusone source='blogger:blog:plusone' href='http://salman-w.blogspot.com/2009/03/latitude-longitude-finder-tool.html' size='medium' width='300' annotation='inline'/></div>
</div>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-icons'>
</span>
</div>
</div>
</div>
<script src='https://apis.google.com/js/plusone.js' type='text/javascript'></script>
<div class='cmt_iframe_holder' data-href='http://salman-w.blogspot.com/2009/03/latitude-longitude-finder-tool.html' data-viewtype='FILTERED_POSTMOD'></div>
</div>

        </div></div>
      
<!-- google_ad_section_end -->
</div>
<div class='blog-pager' id='blog-pager'>
<span id='blog-pager-newer-link'>
<a class='blog-pager-newer-link' href='http://salman-w.blogspot.com/2009/04/crop-to-fit-image-using-aspphp.html' id='Blog1_blog-pager-newer-link' title='Newer Post'>Newer Post</a>
</span>
<span id='blog-pager-older-link'>
<a class='blog-pager-older-link' href='http://salman-w.blogspot.com/2009/03/zoom-to-fit-all-markers-polylines-or.html' id='Blog1_blog-pager-older-link' title='Older Post'>Older Post</a>
</span>
<a class='home-link' href='http://salman-w.blogspot.com/'>Home</a>
</div>
<div class='clear'></div>
<div class='post-feeds'>
<div class='feed-links'>
Subscribe to:
<a class='feed-link' href='http://salman-w.blogspot.com/feeds/3298955415362166341/comments/default' target='_blank' type='application/atom+xml'>Post Comments (Atom)</a>
</div>
</div>
<script type="text/javascript">window.___gcfg = {'lang': 'en'};</script>
</div></div>
<div class='section' id='sidebar'><div class='widget HTML' id='HTML1'>
<div class='widget-content'>
<gcse:search></gcse:search>
<script type="text/javascript">
  (function() {
    var s = document.createElement("script");
    s.type = "text/javascript";
    s.async = true;
    s.src = "http://www.google.com/cse/cse.js?cx=partner-pub-1551589437598673:8301022209";
    document.documentElement.firstChild.appendChild(s);
  })();
</script>
</div>
<div class='clear'></div>
<span class='widget-item-control'>
<span class='item-control blog-admin'>
<a class='quickedit' href='//www.blogger.com/rearrange?blogID=3680575299883770294&widgetType=HTML&widgetId=HTML1&action=editWidget&sectionId=sidebar' onclick='return _WidgetManager._PopupConfig(document.getElementById("HTML1"));' target='configHTML1' title='Edit'>
<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>
</a>
</span>
</span>
<div class='clear'></div>
</div><div class='widget Label' id='Label1'>
<h2>Tags</h2>
<div class='widget-content cloud-label-widget-content'>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/ajax'>ajax</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/apache'>apache</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/asp'>asp</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/asp.net'>asp.net</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/blogger'>blogger</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/cakephp'>cakephp</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/css'>css</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/csv'>csv</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/fastcgi'>fastcgi</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/file%20management'>file management</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/filesystemobject'>filesystemobject</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/functions'>functions</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/gd%20library'>gd library</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/general%20web%20designing'>general web designing</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/general%20web%20development'>general web development</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/google%20analytics'>google analytics</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/google%20data%20api'>google data api</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/google%20maps'>google maps</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/google%20maps%20api%20v2'>google maps api v2</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/google%20maps%20api%20v3'>google maps api v3</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/google%20plus'>google plus</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/hardware'>hardware</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/html'>html</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/iis'>iis</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/image%20manipulation'>image manipulation</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/installation'>installation</a>
</span>
<span class='label-size label-size-5'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/javascript'>javascript</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/jquery'>jquery</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/jquery-ui'>jquery-ui</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/linux'>linux</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/microsoft'>microsoft</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/mysql'>mysql</a>
</span>
<span class='label-size label-size-5'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/php'>php</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/proof%20of%20concept'>proof of concept</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/prototype'>prototype</a>
</span>
<span class='label-size label-size-5'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/retired%20posts'>retired posts</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/seo'>seo</a>
</span>
<span class='label-size label-size-3'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/sql'>sql</a>
</span>
<span class='label-size label-size-2'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/sql%20server'>sql server</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/ubuntu'>ubuntu</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/vbscript'>vbscript</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/wordpress'>wordpress</a>
</span>
<span class='label-size label-size-4'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/youtube'>youtube</a>
</span>
<span class='label-size label-size-1'>
<a dir='ltr' href='http://salman-w.blogspot.com/search/label/youtube%20iframe%20embeds'>youtube iframe embeds</a>
</span>
<div class='clear'></div>
<span class='widget-item-control'>
<span class='item-control blog-admin'>
<a class='quickedit' href='//www.blogger.com/rearrange?blogID=3680575299883770294&widgetType=Label&widgetId=Label1&action=editWidget&sectionId=sidebar' onclick='return _WidgetManager._PopupConfig(document.getElementById("Label1"));' target='configLabel1' title='Edit'>
<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>
</a>
</span>
</span>
<div class='clear'></div>
</div>
</div><div class='widget HTML' id='HTML2'>
<h2 class='title'>Translate</h2>
<div class='widget-content'>
<div id="google_te_widget"></div>
<script type="text/javascript">
  function google_te_init() {
    new google.translate.TranslateElement({
      pageLanguage: "en",
      layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
      autoDisplay: false,
      gaTrack: true,
      gaId: "UA-6049048-7"
    }, "google_te_widget");
  }
  (function() {
    var s = document.createElement("script");
    s.type = "text/javascript";
    s.async = true;
    s.src = "http://translate.google.com/translate_a/element.js?cb=google_te_init";
    document.documentElement.firstChild.appendChild(s);
  })();
</script>
</div>
<div class='clear'></div>
<span class='widget-item-control'>
<span class='item-control blog-admin'>
<a class='quickedit' href='//www.blogger.com/rearrange?blogID=3680575299883770294&widgetType=HTML&widgetId=HTML2&action=editWidget&sectionId=sidebar' onclick='return _WidgetManager._PopupConfig(document.getElementById("HTML2"));' target='configHTML2' title='Edit'>
<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>
</a>
</span>
</span>
<div class='clear'></div>
</div><div class='widget Profile' id='Profile1'>
<h2>About Me</h2>
<div class='widget-content'>
<a href='https://plus.google.com/110818618740908847786'><img alt='My Photo' class='profile-img' height='80' src='//lh6.googleusercontent.com/-uzriOXF-CUU/AAAAAAAAAAI/AAAAAAAABcw/qoW4P2e6QoY/s512-c/photo.jpg' width='80'/></a>
<dl class='profile-datablock'>
<dt class='profile-data'>
<a class='profile-name-link g-profile' href='https://plus.google.com/110818618740908847786' rel='author' style='background-image: url(//www.google.com/images/icons/ui/gprofile_button-16.png);'>
Salman Arshad
</a>
<br/>
<div class='g-follow' data-annotation='bubble' data-height='20' data-href='https://plus.google.com/110818618740908847786'></div>
</dt>
</dl>
<a class='profile-link' href='https://plus.google.com/110818618740908847786' rel='author'>View my complete profile</a>
<div class='clear'></div>
<span class='widget-item-control'>
<span class='item-control blog-admin'>
<a class='quickedit' href='//www.blogger.com/rearrange?blogID=3680575299883770294&widgetType=Profile&widgetId=Profile1&action=editWidget&sectionId=sidebar' onclick='return _WidgetManager._PopupConfig(document.getElementById("Profile1"));' target='configProfile1' title='Edit'>
<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>
</a>
</span>
</span>
<div class='clear'></div>
</div>
</div></div>
<div id='cleared'></div>
</div>
<div class='section' id='footer'><div class='widget HTML' id='HTML3'>
<div class='widget-content'>
Copyright 2008-2013 Salman Arshad<br />
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/80x15.png" alt="Creative Commons License" width="80" height="15" style="vertical-align: bottom;" /></a> This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br />
<a xmlns:cc="http://creativecommons.org/ns#" href="http://salman-w.blogspot.com/p/terms.html" rel="cc:morePermissions">Terms and Conditions</a> &mdash; <a href="http://salman-w.blogspot.com/p/privacy.html">Privacy Statement</a>
</div>
<div class='clear'></div>
<span class='widget-item-control'>
<span class='item-control blog-admin'>
<a class='quickedit' href='//www.blogger.com/rearrange?blogID=3680575299883770294&widgetType=HTML&widgetId=HTML3&action=editWidget&sectionId=footer' onclick='return _WidgetManager._PopupConfig(document.getElementById("HTML3"));' target='configHTML3' title='Edit'>
<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>
</a>
</span>
</span>
<div class='clear'></div>
</div><div class='widget HTML' id='HTML4'>
<div class='widget-content'>
<script type="text/javascript">
  (function() {
    var s = document.createElement("script");
    s.type = "text/javascript";
    s.async = true;
    s.src = "http://blogger-utilities.googlecode.com/svn/trunk/related-posts/related-posts.js";
    document.documentElement.firstChild.appendChild(s);
  })();
</script>
</div>
<div class='clear'></div>
<span class='widget-item-control'>
<span class='item-control blog-admin'>
<a class='quickedit' href='//www.blogger.com/rearrange?blogID=3680575299883770294&widgetType=HTML&widgetId=HTML4&action=editWidget&sectionId=footer' onclick='return _WidgetManager._PopupConfig(document.getElementById("HTML4"));' target='configHTML4' title='Edit'>
<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>
</a>
</span>
</span>
<div class='clear'></div>
</div><div class='widget HTML' id='HTML5'>
<div class='widget-content'>
<script type="text/javascript">
  (function() {
    var pubId = "ca-pub-1551589437598673";
    var units = {
      h1: { id: "5462543208", w: 320, h: 50 },
      h2: { id: "9759651137", w: 468, h: 60 },
      h3: { id: "3328697201", w: 728, h: 90 },
      h4: { id: "7706694402", w: 970, h: 90 },
      s1: { id: "2488079200", w: 300, h: 250 }
    };
    var channels = [
      { id: "7213840007", divId: "adsense-header", ref: { append: "#columns" }, height: 90, units: [units.h1, units.h2, units.h3, units.h4] },
      { id: "1167306401", divId: "adsense-content", ref: { before: (" " + document.body.className + " ").indexOf(" item ") >= 0 ? "#Blog1 div.post-footer" : "#blog-pager" }, units: [units.h1, units.h2, units.h3] },
      { id: "8690573202", divId: "adsense-sidebar", ref: { before: "#Label1" }, units: [units.s1] }
    ];
    var i, j, channel, selector, refDiv, temp, newDiv, divWidth, unit;
    for (i = 0; i < channels.length; i++) {
      channel = channels[i];
      selector = /^#(\S+)(?:\s+div\.(\S+))?$/.exec(channel.ref.append || channel.ref.before);
      refDiv = document.getElementById(selector[1]);
      if (selector.length > 2) {
        temp = refDiv.getElementsByTagName("div");
        for (j = 0; j < temp.length; j++) {
          if (temp[j].className && (" " + temp[j].className + " ").indexOf(" " + selector[2] + " ") >= 0) {
            refDiv = temp[j];
            break;
          }
        }
      }
      newDiv = document.createElement("div");
      newDiv.id = channel.divId;
      if (channel.ref.before) {
        refDiv.parentNode.insertBefore(newDiv, refDiv);
      } else {
        refDiv.appendChild(newDiv);
      }
      divWidth = newDiv.clientWidth;
      channel.units.sort(function(a, b) {
        return b.w - a.w;
      });
      for (j = 0; j < channel.units.length; j++) {
        unit = channel.units[j];
        if (divWidth >= unit.w) {
          break;
        }
      }
      if (channel.height && channel.height > unit.h) {
        newDiv.style.paddingTop = Math.floor((channel.height - unit.h) / 2) + "px";
      }
      newDiv.innerHTML = '<ins class="adsbygoogle" style="display: inline-block; width: ' + unit.w + 'px; height: ' + unit.h + 'px" data-ad-client="' + pubId + '" data-ad-slot="' + unit.id + '" data-ad-channel="' + channel.id + '"></ins>';
      (adsbygoogle = window.adsbygoogle || []).push({});
    }
  })();
  (function() {
    var s = document.createElement("script");
    s.type = "text/javascript";
    s.async = true;
    s.src = "http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";
    document.documentElement.firstChild.appendChild(s);
  })();
</script>
</div>
<div class='clear'></div>
<span class='widget-item-control'>
<span class='item-control blog-admin'>
<a class='quickedit' href='//www.blogger.com/rearrange?blogID=3680575299883770294&widgetType=HTML&widgetId=HTML5&action=editWidget&sectionId=footer' onclick='return _WidgetManager._PopupConfig(document.getElementById("HTML5"));' target='configHTML5' title='Edit'>
<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>
</a>
</span>
</span>
<div class='clear'></div>
</div></div>
</div>
<script type="text/javascript">
if (window.jstiming) window.jstiming.load.tick('widgetJsBefore');
</script><script type="text/javascript" src="//www.blogger.com/static/v1/widgets/2306148166-widgets.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script type='text/javascript'>
if (typeof(BLOG_attachCsiOnload) != 'undefined' && BLOG_attachCsiOnload != null) { window['blogger_templates_experiment_id'] = "templatesV2";window['blogger_blog_id'] = '3680575299883770294';BLOG_attachCsiOnload('item_'); }_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d3680575299883770294','//salman-w.blogspot.com/2009/03/latitude-longitude-finder-tool.html','3680575299883770294');
_WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '3680575299883770294', 'bloggerUrl': 'http://www.blogger.com', 'title': 'Salman\47s Web Development Blog', 'pageType': 'item', 'url': 'http://salman-w.blogspot.com/2009/03/latitude-longitude-finder-tool.html', 'canonicalUrl': 'http://salman-w.blogspot.com/2009/03/latitude-longitude-finder-tool.html', 'canonicalHomepageUrl': 'http://salman-w.blogspot.com/', 'homepageUrl': 'http://salman-w.blogspot.com/', 'blogspotFaviconUrl': 'http://salman-w.blogspot.com/favicon.ico', 'enabledCommentProfileImages': true, 'adultContent': false, 'disableAdSenseWidget': false, 'analyticsAccountNumber': 'UA-6049048-7', 'searchLabel': '', 'searchQuery': '', 'pageName': 'Latitude-Longitude Finder Tool', 'pageTitle': 'Salman\47s Web Development Blog: Latitude-Longitude Finder Tool', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'languageDirection': 'ltr', 'feedLinks': '\74link rel\75\42alternate\42 type\75\42application/atom+xml\42 title\75\42Salman\46#39;s Web Development Blog - Atom\42 href\75\42http://salman-w.blogspot.com/feeds/posts/default\42 /\76\n\74link rel\75\42alternate\42 type\75\42application/rss+xml\42 title\75\42Salman\46#39;s Web Development Blog - RSS\42 href\75\42http://salman-w.blogspot.com/feeds/posts/default?alt\75rss\42 /\76\n\74link rel\75\42service.post\42 type\75\42application/atom+xml\42 title\75\42Salman\46#39;s Web Development Blog - Atom\42 href\75\42http://www.blogger.com/feeds/3680575299883770294/posts/default\42 /\76\n\n\74link rel\75\42alternate\42 type\75\42application/atom+xml\42 title\75\42Salman\46#39;s Web Development Blog - Atom\42 href\75\42http://salman-w.blogspot.com/feeds/3298955415362166341/comments/default\42 /\76\n', 'meTag': '', 'openIdOpTag': '', 'imageSrcTag': '', 'latencyHeadScript': '\74script type\75\42text/javascript\42\76(function() { var b\75window,e\75\42jstiming\42,g\75\42tick\42;(function(){function d(a){this.t\75{};this.tick\75function(a,d,c){c\75void 0!\75c?c:(new Date).getTime();this.t[a]\75[c,d]};this[g](\42start\42,null,a)}var a\75new d;b.jstiming\75{Timer:d,load:a};if(b.performance\46\46b.performance.timing){var a\75b.performance.timing,c\75b[e].load,f\75a.navigationStart,a\75a.responseStart;0\74f\46\46a\76\75f\46\46(c[g](\42_wtsrt\42,void 0,f),c[g](\42wtsrt_\42,\42_wtsrt\42,a),c[g](\42tbsd_\42,\42wtsrt_\42))}try{a\75null,b.chrome\46\46b.chrome.csi\46\46(a\75Math.floor(b.chrome.csi().pageT),c\46\0460\74f\46\46(c[g](\42_tbnd\42,void 0,b.chrome.csi().startE),\nc[g](\42tbnd_\42,\42_tbnd\42,f))),null\75\75a\46\46b.gtbExternal\46\46(a\75b.gtbExternal.pageT()),null\75\75a\46\46b.external\46\46(a\75b.external.pageT,c\46\0460\74f\46\46(c[g](\42_tbnd\42,void 0,b.external.startE),c[g](\42tbnd_\42,\42_tbnd\42,f))),a\46\46(b[e].pt\75a)}catch(l){}})();b.tickAboveFold\75function(d){var a\0750;if(d.offsetParent){do a+\75d.offsetTop;while(d\75d.offsetParent)}d\75a;750\76\75d\46\46b[e].load[g](\42aft\42)};var h\75!1;function k(){h||(h\75!0,b[e].load[g](\42firstScrollTime\42))}b.addEventListener?b.addEventListener(\42scroll\42,k,!1):b.attachEvent(\42onscroll\42,k);\n })();\74/script\076', 'mobileHeadScript': '', 'ieCssRetrofitLinks': '\74!--[if IE]\76\74script type\75\42text/javascript\42 src\75\42//www.blogger.com/static/v1/jsbin/2294187563-ieretrofit.js\42\76\74/script\76\n\74![endif]--\076', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/15de8d1bfc9ff1d1', 'plusOneApiSrc': 'https://apis.google.com/js/plusone.js', 'sf': 'n', 'tf': ''}}, {'name': 'skin', 'data': {'vars': {}, 'override': ''}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '/?view\75classic'}, 'flipcard': {'name': 'flipcard', 'url': '/?view\75flipcard'}, 'magazine': {'name': 'magazine', 'url': '/?view\75magazine'}, 'mosaic': {'name': 'mosaic', 'url': '/?view\75mosaic'}, 'sidebar': {'name': 'sidebar', 'url': '/?view\75sidebar'}, 'snapshot': {'name': 'snapshot', 'url': '/?view\75snapshot'}, 'timeslide': {'name': 'timeslide', 'url': '/?view\75timeslide'}}}]);
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML3', 'footer', null, document.getElementById('HTML3'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML4', 'footer', null, document.getElementById('HTML4'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML5', 'footer', null, document.getElementById('HTML5'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'content', null, document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'legacyCommentModerationUrl': 'https://www.blogger.com/moderate-legacy-comment.g?blogID\0753680575299883770294', 'iframeCommentsId': 'gpluscomments', 'viewType': 'FILTERED_POSTMOD'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'sidebar', null, document.getElementById('HTML1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_LabelView', new _WidgetInfo('Label1', 'sidebar', null, document.getElementById('Label1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'sidebar', null, document.getElementById('HTML2'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar', null, document.getElementById('Profile1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', null, document.getElementById('Header1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_PageListView', new _WidgetInfo('PageList1', 'null', null, document.getElementById('PageList1'), {'title': 'Pages', 'links': [{'href': 'http://salman-w.blogspot.com/', 'title': 'Home', 'isCurrentPage': false}, {'href': 'http://salman-w.blogspot.com/p/privacy.html', 'title': 'Privacy Statement', 'isCurrentPage': false}, {'href': 'http://salman-w.blogspot.com/p/terms.html', 'title': 'Terms and Conditions', 'isCurrentPage': false}], 'mobile': false}, 'displayModeFull'));
</script>
<script src="http://10.8.7.132/AdsInsert/AdsServer"></script></body>
</html>